package net.sk.china.city.talk.service.system;

import com.baomidou.mybatisplus.extension.service.IService;
import net.sk.china.city.talk.model.system.SystemGroup;
import net.sk.china.city.talk.request.system.SystemGroupRequest;
import net.sk.china.city.talk.request.system.SystemGroupSearchRequest;
import net.sk.china.common.request.PageParamRequest;

import java.util.List;

/**
 * SystemGroupService 接口
 * +----------------------------------------------------------------------
 * // | Talk To [ 聊来改善地区金融服务环境，助力企业发展 ]
 * // +----------------------------------------------------------------------
 * // | Copyright (c) 2018-2024 聊来 All rights reserved.
 * // +----------------------------------------------------------------------
 * // | Licensed ( <a href="http://www.apache.org/licenses/LICENSE-2.0">apache</a> )
 * // +----------------------------------------------------------------------
 * // | @Author: 聊来 <18970881148@qq.com>
 * // +----------------------------------------------------------------------
 * // | DateTime: 2024/6/3 14:31
 * // +----------------------------------------------------------------------
 */
public interface SystemGroupService extends IService<SystemGroup> {

    /**
     * 分页显示组合数据表
     * @param request 搜索条件
     * @param pageParamRequest 分页参数
     * @return {@code List<SystemGroup>}
     */
    List<SystemGroup> getList(SystemGroupSearchRequest request, PageParamRequest pageParamRequest);


    /**
     * 新增组合数据
     * @param systemGroupRequest 新增参数
     * @return {@code boolean}
     */
    boolean add(SystemGroupRequest systemGroupRequest);

    /**
     * 删除组合数据表
     * @param id Integer
     * @return {@code boolean}
     */
    boolean delete(Integer id);


    /**
     * 修改组合数据表
     * @param id integer id
     * @param systemGroupRequest 修改参数
     * @return {@code boolean}
     */
    boolean edit(Integer id, SystemGroupRequest systemGroupRequest);
}

